package com.xiaolong.log.util;

import com.xiaolong.log.msg.ErrorLogMessage;
import com.xiaolong.log.msg.LogMessage;
import com.xiaolong.log.send.SendHandler;

public class SendUtil {
    private static SendHandler send;

    public static  void init(SendHandler sendHandler){
        send=sendHandler;
    }


      public static  void sendLog(LogMessage logMessage){
        send.sendLog(logMessage);
    }

    public static  void sendErr(ErrorLogMessage errorLogMessage){
        send.sendErr(errorLogMessage);
    }



}
